var express = require('express');
const user = require('../../middleware/user/user')
var router = express.Router();
router.use(express.json())

router.post('/login', user.login);
router.post('/register', user.register);
router.get('/log', user.log)

module.exports = router;